package cn.ilikes.tools.hbase.jpa.metadatas.processor.validators;

import org.slf4j.Logger;

import cn.ilikes.tools.logs.Loggerfactory;

public class AbEntityValidator {

	protected void throwEntityValidatorException(Logger logger, String message) throws EntityValidatorException {
		Loggerfactory.error(logger, message);
		throw new EntityValidatorException(message);
	}

	protected boolean validatorisEmpty(String vlaue) {
		return (vlaue == null || vlaue.isEmpty());
	}

}
